package com.llf.Pojo;

import lombok.Data;

import java.util.Date;
@Data
public class Bill {
    private long id;//id
    private  String billCode;//订单编码
    private  String productName;//商品名称
    private  String productDesc;//商品描述
    private String  productUnit;//商品单位
    private float   productCount;//商品数量
    private float   totalPrice;//总金额
    private int     isPayment;//支付状态
    private Integer    createdBy;//供应商id
    private Date    creationDate;//创建者
    private  Integer   modifyBy;//创建者
    private Date    modifyDate;//更新时间
    private long    providerId;//更新时间

    private String providerName;//供应商名称

    public String getProviderName() {
        return providerName;
    }

    public void setProviderName(String providerName) {
        this.providerName = providerName;
    }

    public Bill() {
    }

    public Bill(long id, String billCode, String productName, String productDesc,
                String productUnit, float productCount, float
                        totalPrice, int isPayment, Integer createdBy,
                Integer modifyBy,  long providerId) {
        this.id = id;
        this.billCode = billCode;
        this.productName = productName;
        this.productDesc = productDesc;
        this.productUnit = productUnit;
        this.productCount = productCount;
        this.totalPrice = totalPrice;
        this.isPayment = isPayment;
        this.createdBy = createdBy;
        this.modifyBy = modifyBy;
        this.providerId = providerId;
    }}


